package com.example.blogdevelop.common.lang;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data

public class NameAndMessage  {
    @NotBlank(message = "昵称不能为空")
    private  String username;
    @NotBlank(message = "原密码不能为空")
    private String oldmessage;
    @NotBlank(message = "新密码不能为空")
    private String newmessage;
}
